<div class="row-fluid">
   <div class="span12">
      <h3 class="heading">
      Listado de Alumnos de&nbsp;
      Materia "<?php echo $materia['Materia']['nombre'];  ?>"&nbsp;
      Curso: <?php echo $alumnos[0]['Paralelo']['curso']?>&nbsp;"<?php echo $alumnos[0]['Paralelo']['nombre']?>"

      </h3>
        <table class="table table-striped table-bordered dTableR" id="dt_a">       
            <thead>
                <tr>                       
                    <th>Nombre</th>
                    <th>Apellido Paterno</th>
                    <th>Apellido Materno</th>                    
                    <th>Acciones</th>     
                </tr>
            </thead>
            <tbody>
                <?php foreach ($alumnos as $a): ?>
                <?php $idAlumno = $a['Alumno']['id']; ?>
                    <tr>                         
                        <td><?php echo $a['Alumno']['nombre']; ?></td>
                        <td><?php echo $a['Alumno']['ap_paterno']; ?></td>
                        <td><?php echo $a['Alumno']['ap_materno']; ?></td>                        
                        <td>
                            <?php echo $this->Html->link('ver notas', array('controller'=>'Profesores', 'action'=>'vercalificaciones',$idAlumno, $materia['Materia']['id'])); ?>
                        </td>
                    </tr>
                    <?php endforeach; ?>
            </tbody>
        </table>
   </div>
</div>
<!-- sidebar -->
<?php
echo $this->element('sidebar/profesor');
?>